package com.itgaohe.dao.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("tb_like")
public class Like {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;
    private Long blogId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
